//
//  MyInfoHeadViewCell.m
//  IM_LearningGYDF
//
//  Created by gydf on 16/3/15.
//  Copyright © 2016年 mac. All rights reserved.
//

#import "MyInfoHeadViewCell.h"

@implementation MyInfoHeadViewCell

- (void)awakeFromNib {
    // Initialization code
    [super awakeFromNib];
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    if (self=[super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        _headImage=[[UIImageView alloc]initWithFrame:CGRectMake(8, 8, 60, 60)];
        _headImage.image=[UIImage imageNamed:@"k_portrait@2x"];
        //设置圆角图
        _headImage.layer.cornerRadius = 30;
        _headImage.layer.masksToBounds = YES;
        [self.contentView addSubview:_headImage];
        
        _nameLabel=[MyControl creatLabelWithFrame:CGRectMake(IPHONE_WIDTH-110, 28,80, 20) text:@"修改头像"];
        _nameLabel.font=FONT_18;
        [self.contentView addSubview:_nameLabel];
    }
    
    return self;
}


- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
